<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 用字面量的方式声明引用类型
        const obj = {}
        const arr = []
        const fn = function () { }

        console.log(obj.__proto__);
        console.log(Object.prototype);
        console.log(obj.__proto__ == Object.prototype);
        console.log(arr.__proto__ == Array.prototype);
        console.log(fn.__proto__ == Function.prototype);
    </script>
</body>
</html>